package com.stylefeng.guns.modular.customer.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.stylefeng.guns.core.datascope.DataScope;
import com.stylefeng.guns.modular.system.model.CustomerCompanyManage;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CustomerCompanyManageDao {

    List<Map<String,Object>> list(@Param("dataScope") DataScope dataScope,
                                  @Param("page") Page<CustomerCompanyManage> page ,
                                  @Param("customerTypeCode") String customerTypeCode,
                                  @Param("customerCompanyName")String customerCompanyName);


    List<Map<String,Object>> selectByCompanyId(@Param("companyId") Integer companyId);
}
